<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of baseUSAEpayService
 *
 * @author rana
 */


/**
 * usaepayService
 * @author WSDLInterpreter
 */
class baseUSAEpayService extends SoapClient
{

    /**
     * Default class map for wsdl=>php
     * @access private
     * @var array
     */
    private static $classmap = array(
        "AccountDetails" => "AccountDetails",
        "Address" => "Address",
        "Bank" => "Bank",
        "BankArray" => "BankArray",
        "BatchSearchResult" => "BatchSearchResult",
        "BatchStatus" => "BatchStatus",
        "BatchStatusArray" => "BatchStatusArray",
        "BatchUploadStatus" => "BatchUploadStatus",
        "CheckData" => "CheckData",
        "CheckTrace" => "CheckTrace",
        "CreditCardData" => "CreditCardData",
        "CurrencyConversion" => "CurrencyConversion",
        "CurrencyConversionArray" => "CurrencyConversionArray",
        "CurrencyObject" => "CurrencyObject",
        "CurrencyObjectArray" => "CurrencyObjectArray",
        "CustomerObject" => "CustomerObject",
        "CustomerObjectArray" => "CustomerObjectArray",
        "CustomerSearchResult" => "CustomerSearchResult",
        "CustomerTransactionRequest" => "CustomerTransactionRequest",
        "doubleArray" => "doubleArray",
        "FieldValue" => "FieldValue",
        "FieldValueArray" => "FieldValueArray",
        "LineItem" => "LineItem",
        "LineItemArray" => "LineItemArray",
        "PaymentMethod" => "PaymentMethod",
        "PaymentMethodArray" => "PaymentMethodArray",
        "Product" => "Product",
        "ProductArray" => "ProductArray",
        "ProductCategory" => "ProductCategory",
        "ProductCategoryArray" => "ProductCategoryArray",
        "ProductInventory" => "ProductInventory",
        "ProductInventoryArray" => "ProductInventoryArray",
        "ProductSearchResult" => "ProductSearchResult",
        "Receipt" => "Receipt",
        "ReceiptArray" => "ReceiptArray",
        "RecurringBilling" => "RecurringBilling",
        "SearchParam" => "SearchParam",
        "SearchParamArray" => "SearchParamArray",
        "stringArray" => "stringArray",
        "SyncLog" => "SyncLog",
        "SyncLogArray" => "SyncLogArray",
        "SystemInfo" => "SystemInfo",
        "TransactionDetail" => "TransactionDetail",
        "TransactionObject" => "TransactionObject",
        "TransactionObjectArray" => "TransactionObjectArray",
        "TransactionRequestObject" => "TransactionRequestObject",
        "TransactionResponse" => "TransactionResponse",
        "TransactionSearchResult" => "TransactionSearchResult",
        "ueHash" => "ueHash",
        "ueSecurityToken" => "ueSecurityToken",
    );

    /**
     * Constructor using wsdl location and options array
     * @param array $options Options for the SoapClient
     */
    public function __construct($options=array())
    {

        $wsdl = PGConfiguration::WSDL;
        if(isset($options['wsdl']))
        {
            $wsdl = $options['wsdl'];
        }

        foreach(self::$classmap as $wsdlClassName => $phpClassName)
        {
            if(!isset($options['classmap'][$wsdlClassName]))
            {
                $options['classmap'][$wsdlClassName] = $phpClassName;
            }
        }
        parent::__construct($wsdl, $options);
    }

    /**
     * Checks if an argument list matches against a valid argument type list
     * @param array $arguments The argument list to check
     * @param array $validParameters A list of valid argument types
     * @return boolean true if arguments match against validParameters
     * @throws Exception invalid function signature message
     */
    public function _checkArguments($arguments, $validParameters)
    {
        $variables = "";
        foreach($arguments as $arg)
        {
            $type = gettype($arg);
            if($type == "object")
            {
                $type = get_class($arg);
            }
            $variables .= "(" . $type . ")";
        }
        if(!in_array($variables, $validParameters))
        {
            // throw new Exception("Invalid parameter types: ".str_replace(")(", ", ", $variables));
            return true;
        }
        return true;
    }

    /**
     * Service Call: addCustomer
     * Parameter options:
     * (ueSecurityToken) Token, (CustomerObject) CustomerData
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function addCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(CustomerObject)",
        );
        $args = func_get_args();
        //$this->_checkArguments($args, $validParameters);
        return $this->__soapCall("addCustomer", $args);
    }

    /**
     * Service Call: addCustomerPaymentMethod
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum, (PaymentMethod) PaymentMethod, (boolean) MakeDefault, (boolean) Verify
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function addCustomerPaymentMethod($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(PaymentMethod)(boolean)(boolean)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("addCustomerPaymentMethod", $args);
    }

    /**
     * Service Call: addProduct
     * Parameter options:
     * (ueSecurityToken) Token, (Product) Product
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function addProduct($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(Product)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("addProduct", $args);
    }

    /**
     * Service Call: addProductCategory
     * Parameter options:
     * (ueSecurityToken) Token, (ProductCategory) ProductCategory
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function addProductCategory($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(ProductCategory)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("addProductCategory", $args);
    }

    /**
     * Service Call: addReceipt
     * Parameter options:
     * (ueSecurityToken) Token, (Receipt) Receipt
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function addReceipt($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(Receipt)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("addReceipt", $args);
    }

    /**
     * Service Call: adjustInventory
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductRefNum, (ProductInventory[]) Inventory
     * @param mixed,... See function description for parameter options
     * @return ProductInventory[]
     * @throws Exception invalid function signature message
     */
    public function adjustInventory($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(array)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("adjustInventory", $args);
    }

    /**
     * Service Call: bulkCurrencyConversion
     * Parameter options:
     * (ueSecurityToken) Token, (string) FromCurrency, (string) ToCurrency, (double[]) Amounts
     * @param mixed,... See function description for parameter options
     * @return CurrencyConversion[]
     * @throws Exception invalid function signature message
     */
    public function bulkCurrencyConversion($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(string)(array)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("bulkCurrencyConversion", $args);
    }

    /**
     * Service Call: captureTransaction
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (double) Amount
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function captureTransaction($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(double)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("captureTransaction", $args);
    }

    /**
     * Service Call: closeBatch
     * Parameter options:
     * (ueSecurityToken) Token, (integer) BatchRefNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function closeBatch($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("closeBatch", $args);
    }

    /**
     * Service Call: convertTranToCust
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (FieldValue[]) UpdateData
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function convertTranToCust($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(array)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("convertTranToCust", $args);
    }

    /**
     * Service Call: copyCustomer
     * Parameter options:
     * (ueSecurityToken) CopyFromToken, (integer) CustNum, (ueSecurityToken) CopyToToken
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function copyCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(ueSecurityToken)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("copyCustomer", $args);
    }

    /**
     * Service Call: createBatchUpload
     * Parameter options:
     * (ueSecurityToken) Token, (string) FileName, (boolean) AutoStart, (string) Format, (string) Encoding, (string[]) Fields, (string) Data, (boolean) OverrideDuplicates
     * @param mixed,... See function description for parameter options
     * @return BatchUploadStatus
     * @throws Exception invalid function signature message
     */
    public function createBatchUpload($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(boolean)(string)(string)(string[])(string)(boolean)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("createBatchUpload", $args);
    }

    /**
     * Service Call: currencyConversion
     * Parameter options:
     * (ueSecurityToken) Token, (integer) FromCurrency, (integer) ToCurrency, (double) Amount
     * @param mixed,... See function description for parameter options
     * @return CurrencyConversion
     * @throws Exception invalid function signature message
     */
    public function currencyConversion($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(integer)(double)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("currencyConversion", $args);
    }

    /**
     * Service Call: deleteCustomer
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function deleteCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("deleteCustomer", $args);
    }

    /**
     * Service Call: deleteCustomerPaymentMethod
     * Parameter options:
     * (ueSecurityToken) Token, (integer) Custnum, (integer) PaymentMethodID
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function deleteCustomerPaymentMethod($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("deleteCustomerPaymentMethod", $args);
    }

    /**
     * Service Call: deleteProduct
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductRefNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function deleteProduct($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("deleteProduct", $args);
    }

    /**
     * Service Call: deleteProductCategory
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductCategoryRefNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function deleteProductCategory($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("deleteProductCategory", $args);
    }

    /**
     * Service Call: deleteReceipt
     * Parameter options:
     * (ueSecurityToken) Token, (integer) ReceiptRefNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function deleteReceipt($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("deleteReceipt", $args);
    }

    /**
     * Service Call: disableCustomer
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function disableCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("disableCustomer", $args);
    }

    /**
     * Service Call: emailTransactionReceipt
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (integer) ReceiptRefNum, (string) Email
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function emailTransactionReceipt($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("emailTransactionReceipt", $args);
    }

    /**
     * Service Call: emailTransactionReceiptByName
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (string) ReceiptName, (string) Email
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function emailTransactionReceiptByName($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(string)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("emailTransactionReceiptByName", $args);
    }

    /**
     * Service Call: enableCustomer
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function enableCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("enableCustomer", $args);
    }

    /**
     * Service Call: getAccountDetails
     * Parameter options:
     * (ueSecurityToken) Token
     * @param mixed,... See function description for parameter options
     * @return AccountDetails
     * @throws Exception invalid function signature message
     */
    public function getAccountDetails($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getAccountDetails", $args);
    }

    /**
     * Service Call: getBankList
     * Parameter options:
     * (ueSecurityToken) Token
     * @param mixed,... See function description for parameter options
     * @return Bank[]
     * @throws Exception invalid function signature message
     */
    public function getBankList($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getBankList", $args);
    }

    /**
     * Service Call: getBatchStatus
     * Parameter options:
     * (ueSecurityToken) Token, (integer) BatchRefNum
     * @param mixed,... See function description for parameter options
     * @return BatchStatus
     * @throws Exception invalid function signature message
     */
    public function getBatchStatus($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getBatchStatus", $args);
    }

    /**
     * Service Call: getBatchTransactions
     * Parameter options:
     * (ueSecurityToken) Token, (integer) BatchRefNum
     * @param mixed,... See function description for parameter options
     * @return TransactionObject[]
     * @throws Exception invalid function signature message
     */
    public function getBatchTransactions($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getBatchTransactions", $args);
    }

    /**
     * Service Call: getBatchUploadStatus
     * Parameter options:
     * (ueSecurityToken) Token, (integer) UploadRefNum
     * @param mixed,... See function description for parameter options
     * @return BatchUploadStatus
     * @throws Exception invalid function signature message
     */
    public function getBatchUploadStatus($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getBatchUploadStatus", $args);
    }

    /**
     * Service Call: getCheckTrace
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum
     * @param mixed,... See function description for parameter options
     * @return CheckTrace
     * @throws Exception invalid function signature message
     */
    public function getCheckTrace($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getCheckTrace", $args);
    }

    /**
     * Service Call: getCustomer
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum
     * @param mixed,... See function description for parameter options
     * @return CustomerObject
     * @throws Exception invalid function signature message
     */
    public function getCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getCustomer", $args);
    }

    /**
     * Service Call: getCustomerHistory
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum
     * @param mixed,... See function description for parameter options
     * @return TransactionSearchResult
     * @throws Exception invalid function signature message
     */
    public function getCustomerHistory($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getCustomerHistory", $args);
    }

    /**
     * Service Call: getCustomerPaymentMethod
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum, (integer) MethodID
     * @param mixed,... See function description for parameter options
     * @return PaymentMethod
     * @throws Exception invalid function signature message
     */
    public function getCustomerPaymentMethod($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getCustomerPaymentMethod", $args);
    }

    /**
     * Service Call: getCustomerPaymentMethods
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum
     * @param mixed,... See function description for parameter options
     * @return PaymentMethod[]
     * @throws Exception invalid function signature message
     */
    public function getCustomerPaymentMethods($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getCustomerPaymentMethods", $args);
    }

    /**
     * Service Call: getCustomerReport
     * Parameter options:
     * (ueSecurityToken) Token, (string) Report, (FieldValue[]) Options, (string) Format
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function getCustomerReport($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(array)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getCustomerReport", $args);
    }

    /**
     * Service Call: getCustomFields
     * Parameter options:
     * (ueSecurityToken) Token
     * @param mixed,... See function description for parameter options
     * @return FieldValue[]
     * @throws Exception invalid function signature message
     */
    public function getCustomFields($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getCustomFields", $args);
    }

    /**
     * Service Call: getProduct
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductRefNum
     * @param mixed,... See function description for parameter options
     * @return Product
     * @throws Exception invalid function signature message
     */
    public function getProduct($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getProduct", $args);
    }

    /**
     * Service Call: getProductCategory
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductCategoryRefNum
     * @param mixed,... See function description for parameter options
     * @return ProductCategory
     * @throws Exception invalid function signature message
     */
    public function getProductCategory($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getProductCategory", $args);
    }

    /**
     * Service Call: getProductCategories
     * Parameter options:
     * (ueSecurityToken) Token
     * @param mixed,... See function description for parameter options
     * @return ProductCategory[]
     * @throws Exception invalid function signature message
     */
    public function getProductCategories($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getProductCategories", $args);
    }

    /**
     * Service Call: getProductInventory
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductRefNum
     * @param mixed,... See function description for parameter options
     * @return ProductInventory[]
     * @throws Exception invalid function signature message
     */
    public function getProductInventory($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getProductInventory", $args);
    }

    /**
     * Service Call: getReceipt
     * Parameter options:
     * (ueSecurityToken) Token, (integer) ReceiptRefNum
     * @param mixed,... See function description for parameter options
     * @return Receipt
     * @throws Exception invalid function signature message
     */
    public function getReceipt($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getReceipt", $args);
    }

    /**
     * Service Call: getReceiptByName
     * Parameter options:
     * (ueSecurityToken) Token, (string) Name
     * @param mixed,... See function description for parameter options
     * @return Receipt
     * @throws Exception invalid function signature message
     */
    public function getReceiptByName($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getReceiptByName", $args);
    }

    /**
     * Service Call: getReceipts
     * Parameter options:
     * (ueSecurityToken) Token, (string) Target
     * @param mixed,... See function description for parameter options
     * @return Receipt[]
     * @throws Exception invalid function signature message
     */
    public function getReceipts($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getReceipts", $args);
    }

    /**
     * Service Call: getReport
     * Parameter options:
     * (ueSecurityToken) Token, (string) Report, (FieldValue[]) Options, (string) Format
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function getReport($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(array)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getReport", $args);
    }

    /**
     * Service Call: getSupportedCurrencies
     * Parameter options:
     * (ueSecurityToken) Token
     * @param mixed,... See function description for parameter options
     * @return CurrencyObject[]
     * @throws Exception invalid function signature message
     */
    public function getSupportedCurrencies($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getSupportedCurrencies", $args);
    }

    /**
     * Service Call: getSyncLog
     * Parameter options:
     * (ueSecurityToken) Token, (string) ObjectName, (integer) FromPosition
     * @param mixed,... See function description for parameter options
     * @return SyncLog[]
     * @throws Exception invalid function signature message
     */
    public function getSyncLog($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getSyncLog", $args);
    }

    /**
     * Service Call: getSyncLogCurrentPosition
     * Parameter options:
     * (ueSecurityToken) Token, (string) ObjectName
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function getSyncLogCurrentPosition($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getSyncLogCurrentPosition", $args);
    }

    /**
     * Service Call: getSystemInfo
     * Parameter options:
     * (ueSecurityToken) Token
     * @param mixed,... See function description for parameter options
     * @return SystemInfo
     * @throws Exception invalid function signature message
     */
    public function getSystemInfo($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getSystemInfo", $args);
    }

    /**
     * Service Call: getTransaction
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum
     * @param mixed,... See function description for parameter options
     * @return TransactionObject
     * @throws Exception invalid function signature message
     */
    public function getTransaction($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getTransaction", $args);
    }

    /**
     * Service Call: getTransactionCustom
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (string[]) Fields
     * @param mixed,... See function description for parameter options
     * @return FieldValue[]
     * @throws Exception invalid function signature message
     */
    public function getTransactionCustom($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(array)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getTransactionCustom", $args);
    }

    /**
     * Service Call: getTransactionReport
     * Parameter options:
     * (ueSecurityToken) Token, (string) StartDate, (string) EndDate, (string) Report, (string) Format
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function getTransactionReport($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(string)(string)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getTransactionReport", $args);
    }

    /**
     * Service Call: getTransactionStatus
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function getTransactionStatus($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("getTransactionStatus", $args);
    }

    /**
     * Service Call: moveCustomer
     * Parameter options:
     * (ueSecurityToken) MoveFromToken, (integer) CustNum, (ueSecurityToken) MoveToToken
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function moveCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(ueSecurityToken)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("moveCustomer", $args);
    }

    /**
     * Service Call: pauseBatchUpload
     * Parameter options:
     * (ueSecurityToken) Token, (integer) UploadRefNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function pauseBatchUpload($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("pauseBatchUpload", $args);
    }

    /**
     * Service Call: postAuth
     * Parameter options:
     * (ueSecurityToken) Token, (TransactionRequestObject) Params
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function postAuth($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(TransactionRequestObject)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("postAuth", $args);
    }

    /**
     * Service Call: quickUpdateCustomer
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum, (FieldValue[]) UpdateData
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function quickUpdateCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(array)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("quickUpdateCustomer", $args);
    }

    /**
     * Service Call: quickUpdateProduct
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductRefNum, (FieldValue[]) UpdateData
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function quickUpdateProduct($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(array)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("quickUpdateProduct", $args);
    }

    /**
     * Service Call: refundTransaction
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (double) Amount
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function refundTransaction($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(double)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("refundTransaction", $args);
    }

    /**
     * Service Call: renderReceipt
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (integer) ReceiptRefNum, (string) ContentType
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function renderReceipt($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("renderReceipt", $args);
    }

    /**
     * Service Call: renderReceiptByName
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (string) ReceiptName, (string) ContentType
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function renderReceiptByName($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(string)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("renderReceiptByName", $args);
    }

    /**
     * Service Call: runBatchUpload
     * Parameter options:
     * (ueSecurityToken) Token, (integer) UploadRefNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function runBatchUpload($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runBatchUpload", $args);
    }

    /**
     * Service Call: runCredit
     * Parameter options:
     * (ueSecurityToken) Token, (TransactionRequestObject) Params
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runCredit($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(TransactionRequestObject)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runCredit", $args);
    }

    /**
     * Service Call: runCheckCredit
     * Parameter options:
     * (ueSecurityToken) Token, (TransactionRequestObject) Params
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runCheckCredit($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(TransactionRequestObject)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runCheckCredit", $args);
    }

    /**
     * Service Call: runCustomerTransaction
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum, (integer) PaymentMethodID, (CustomerTransactionRequest) Parameters
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runCustomerTransaction($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(integer)(CustomerTransactionRequest)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runCustomerTransaction", $args);
    }

    /**
     * Service Call: runQuickSale
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (TransactionDetail) Details, (boolean) AuthOnly
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runQuickSale($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(TransactionDetail)(boolean)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runQuickSale", $args);
    }

    /**
     * Service Call: runQuickCredit
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (TransactionDetail) Details
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runQuickCredit($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(TransactionDetail)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runQuickCredit", $args);
    }

    /**
     * Service Call: runAuthOnly
     * Parameter options:
     * (ueSecurityToken) Token, (TransactionRequestObject) Params
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runAuthOnly($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(TransactionRequestObject)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runAuthOnly", $args);
    }

    /**
     * Service Call: runSale
     * Parameter options:
     * (ueSecurityToken) Token, (TransactionRequestObject) Params
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runSale($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(TransactionRequestObject)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runSale", $args);
    }

    /**
     * Service Call: runCheckSale
     * Parameter options:
     * (ueSecurityToken) Token, (TransactionRequestObject) Params
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runCheckSale($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(TransactionRequestObject)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runCheckSale", $args);
    }

    /**
     * Service Call: runTransaction
     * Parameter options:
     * (ueSecurityToken) Token, (TransactionRequestObject) Parameters
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runTransaction($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(TransactionRequestObject)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runTransaction", $args);
    }

    /**
     * Service Call: runTransactionAPI
     * Parameter options:
     * (ueSecurityToken) Token, (FieldValue[]) Parameters
     * @param mixed,... See function description for parameter options
     * @return TransactionResponse
     * @throws Exception invalid function signature message
     */
    public function runTransactionAPI($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("runTransactionAPI", $args);
    }

    /**
     * Service Call: searchBatches
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return BatchSearchResult
     * @throws Exception invalid function signature message
     */
    public function searchBatches($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchBatches", $args);
    }

    /**
     * Service Call: searchBatchesCount
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return BatchSearchResult
     * @throws Exception invalid function signature message
     */
    public function searchBatchesCount($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchBatchesCount", $args);
    }

    /**
     * Service Call: searchCustomerID
     * Parameter options:
     * (ueSecurityToken) Token, (string) CustID
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function searchCustomerID($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchCustomerID", $args);
    }

    /**
     * Service Call: searchCustomers
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return CustomerSearchResult
     * @throws Exception invalid function signature message
     */
    public function searchCustomers($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchCustomers", $args);
    }

    /**
     * Service Call: searchCustomersCount
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return CustomerSearchResult
     * @throws Exception invalid function signature message
     */
    public function searchCustomersCount($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchCustomersCount", $args);
    }

    /**
     * Service Call: searchProducts
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return ProductSearchResult
     * @throws Exception invalid function signature message
     */
    public function searchProducts($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchProducts", $args);
    }

    /**
     * Service Call: searchProductsCount
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return ProductSearchResult
     * @throws Exception invalid function signature message
     */
    public function searchProductsCount($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchProductsCount", $args);
    }

    /**
     * Service Call: searchProductsCustom
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string[]) FieldList, (string) Format, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function searchProductsCustom($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(array)(string)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchProductsCustom", $args);
    }

    /**
     * Service Call: searchTransactions
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return TransactionSearchResult
     * @throws Exception invalid function signature message
     */
    public function searchTransactions($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchTransactions", $args);
    }

    /**
     * Service Call: searchTransactionsCount
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return TransactionSearchResult
     * @throws Exception invalid function signature message
     */
    public function searchTransactionsCount($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchTransactionsCount", $args);
    }

    /**
     * Service Call: searchTransactionsCustom
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string[]) FieldList, (string) Format, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function searchTransactionsCustom($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(array)(string)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchTransactionsCustom", $args);
    }

    /**
     * Service Call: searchCustomersCustom
     * Parameter options:
     * (ueSecurityToken) Token, (SearchParam[]) Search, (boolean) MatchAll, (integer) Start, (integer) Limit, (string[]) FieldList, (string) Format, (string) Sort
     * @param mixed,... See function description for parameter options
     * @return string
     * @throws Exception invalid function signature message
     */
    public function searchCustomersCustom($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(array)(boolean)(integer)(integer)(array)(string)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("searchCustomersCustom", $args);
    }

    /**
     * Service Call: updateCustomer
     * Parameter options:
     * (ueSecurityToken) Token, (integer) CustNum, (CustomerObject) CustomerData
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function updateCustomer($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(CustomerObject)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("updateCustomer", $args);
    }

    /**
     * Service Call: updateCustomerPaymentMethod
     * Parameter options:
     * (ueSecurityToken) Token, (PaymentMethod) PaymentMethod, (boolean) Verify
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function updateCustomerPaymentMethod($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(PaymentMethod)(boolean)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("updateCustomerPaymentMethod", $args);
    }

    /**
     * Service Call: updateProduct
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductRefNum, (Product) Product
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function updateProduct($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(Product)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("updateProduct", $args);
    }

    /**
     * Service Call: updateProductCategory
     * Parameter options:
     * (ueSecurityToken) Token, (string) ProductCategoryRefNum, (ProductCategory) ProductCategory
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function updateProductCategory($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(string)(ProductCategory)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("updateProductCategory", $args);
    }

    /**
     * Service Call: updateReceipt
     * Parameter options:
     * (ueSecurityToken) Token, (integer) ReceiptRefNum, (Receipt) Receipt
     * @param mixed,... See function description for parameter options
     * @return integer
     * @throws Exception invalid function signature message
     */
    public function updateReceipt($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(Receipt)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("updateReceipt", $args);
    }

    /**
     * Service Call: voidTransaction
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function voidTransaction($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("voidTransaction", $args);
    }

    /**
     * Service Call: overrideTransaction
     * Parameter options:
     * (ueSecurityToken) Token, (integer) RefNum, (string) Reason
     * @param mixed,... See function description for parameter options
     * @return boolean
     * @throws Exception invalid function signature message
     */
    public function overrideTransaction($mixed = null)
    {
        $validParameters = array(
            "(ueSecurityToken)(integer)(string)",
        );
        $args = func_get_args();
        $this->_checkArguments($args, $validParameters);
        return $this->__soapCall("overrideTransaction", $args);
    }

}